package namingService;

import org.omg.PortableServer.POA;

/**
 * Generated from IDL interface "Client".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 6-mar-2009 18.45.05
 */

public class ClientPOATie
	extends ClientPOA
{
	private ClientOperations _delegate;

	private POA _poa;
	public ClientPOATie(ClientOperations delegate)
	{
		_delegate = delegate;
	}
	public ClientPOATie(ClientOperations delegate, POA poa)
	{
		_delegate = delegate;
		_poa = poa;
	}
	public namingService.Client _this()
	{
		return namingService.ClientHelper.narrow(_this_object());
	}
	public namingService.Client _this(org.omg.CORBA.ORB orb)
	{
		return namingService.ClientHelper.narrow(_this_object(orb));
	}
	public ClientOperations _delegate()
	{
		return _delegate;
	}
	public void _delegate(ClientOperations delegate)
	{
		_delegate = delegate;
	}
	public POA _default_POA()
	{
		if (_poa != null)
		{
			return _poa;
		}
		return super._default_POA();
	}
	public void messageToClient(java.lang.String message)
	{
_delegate.messageToClient(message);
	}

}
